/********************************paths.h************************************/
/*****************************************************************************/
/*******************Browsers Daily Build Updater************************/
/************Copyright (C) 2010-2011  Gianluigi Biancucci*************/
/*****************************************************************************/
/*****This is free software, and you are welcome to redistribute it****/
/*****and / or modify underthe terms of GPLV2 License.**************/
/*****This program comes with ABSOLUTELY NO WARRANTY*****/
/*****************************************************************************/

#ifndef PATHS_H
#define PATHS_H
#include <QDir>
#include <QString>
#include "winFunc.h"

#define SETTINGSPATH QDir::homePath ()+"/.bdbu"
#define CHROSETPATH SETTINGSPATH+"/Chromium"
#define FFOXSETPATH SETTINGSPATH+"/Firefox"
#define OPERASETPATH SETTINGSPATH+"/Opera"

#define PROGPATH32 replaceSlash(getenv("PROGRAMFILES"))
#define PROGPATH64  replaceSlash(getenv("PROGRAMW6432"))
// getenv("PROGRAMFILES(X86)"
#define CHRO32DEFPATH QDir::homePath ()+"/AppData/Local/Chromium/Application"
#define FFOX32DEFPATH PROGPATH32+="/Minefield"
#define FFOX64DEFPATH PROGPATH64+="/Minefield"
#define OPERA32DEFPATH PROGPATH32+="/Opera 11.00 beta"
#define P "PIPPO"


#endif // PATHS_H
